package com.xcc.buglytest;

import android.app.Application;
import android.content.Context;

import com.tencent.bugly.Bugly;
import com.tencent.bugly.beta.Beta;

public class AppTest extends Application {
    private static AppTest appTest;

    public static AppTest getInstance() {
        return appTest;
    }
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        //MultiDex.install(base);
        // 安装tinker
        Beta.installTinker();
    }

    public void onCreate() {
        super.onCreate();
        appTest = this;
        Bugly.init(this, "b202927d9c", false);
    }
}
